package com.example.hibernate.l.sql;

import java.util.HashSet;
import java.util.Set;

public class Department {
	
	private Long id;
	private String name;
	private String deptNo;
	private Set<Employee> employees = new HashSet<Employee>();
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDeptNo() {
		return deptNo;
	}
	public void setDeptNo(String deptNo) {
		this.deptNo = deptNo;
	}
	public Set<Employee> getEmployees() {
		return employees;
	}
	public void setEmployees(Set<Employee> employees) {
		this.employees = employees;
	}
}
